﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ListEdit.ascx.cs" Inherits="Webadmin_Modules_About_ListEdit" %>
<%@ Import Namespace="System.Data" %>
<%@ Register Assembly="WYSIWYGEditor" Namespace="InnovaStudio" TagPrefix="cc1" %>

<script language="javascript" type="text/javascript" src="../../JS/bzAjax.js"></script>

<script language="javascript" type="text/javascript">
    function checkSubmit() {
        return true;
    }
   
</script>

<form id="frmMain" runat="server" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit()">
<div align="center">
    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="box_main">
        <tr>
            <td width="100%" height="30" valign="top" class="navigator" align="left">
                &nbsp;<%=this.Navigator %>
            </td>
        </tr>
        <tr>
            <td valign="top" align="center">
                <table class="box_into" width="98%" border="0" cellpadding="5" cellspacing="0">
                    <tr>
                        <td colspan="2" class="input_label" align="right" style="width: 34%">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td class="input_label" align="right" style="width: 27%">
                            &nbsp;Tiêu đề
                        </td>
                        <td class="input_textbox" width="60%" align="left">
                            &nbsp;<asp:TextBox ID="txtTitleVN" runat="server" Width="213px"></asp:TextBox>&nbsp;<asp:RequiredFieldValidator ID="reqTitleVN" runat="server" ControlToValidate="txtTitleVN"
                                Display="Dynamic" Text="*" SetFocusOnError="true" ErrorMessage="*"></asp:RequiredFieldValidator></td>
                    </tr>
                  
                    <tr>
                        <td width="100%" align="left" valign="middle" colspan="2" height="22">
   <strong>
                                <%=this.AdminLang["ContentVN"] %></strong>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" width="100%" align="center" valign="top">
                            <cc1:WYSIWYGEditor ID="txtContentVN" runat="server" btnClearAll="true"   scriptPath="../../../Editor/scripts/"
                                Width="98%" AssetManager="../../../Editor/assetmanager/assetmanager.aspx" AssetManagerHeight="510"
                                AssetManagerWidth="570" InitialRefresh="True"  >
                                <ToolbarTabs>
                                    <cc1:ISTab ID="tabHome" Text="Home">
                                        <Groups>
                                            <cc1:ISGroup ID="grpEdit" 
                                                Buttons="Undo,Redo,Search,SpellCheck,ClearAll,BRK,Cut,Copy,Paste,PasteWord,PasteText,RemoveFormat" 
                                                Text="Edit" />
                                            <cc1:ISGroup ID="grpFont" 
                                                Buttons="BRK,Bold,Italic,Underline,Strikethrough,Superscript,Subscript" 
                                                Text="Font" />
                                            <cc1:ISGroup ID="grpPara" 
                                                Buttons="Indent,Outdent,LTR,RTL,BRK,JustifyLeft,JustifyCenter,JustifyRight,JustifyFull,Numbering,Bullets" 
                                                Text="Paragraph" />
                                            <cc1:ISGroup ID="grpPage" 
                                                Buttons="Save,Print,Preview,BRK,FullScreen,XHTMLSource" 
                                                Text="Page &amp; View" />
                                        </Groups>
                                    </cc1:ISTab>
                                </ToolbarTabs>
                            </cc1:WYSIWYGEditor>
                        </td>
                    </tr>
                   
                    <tr>
                        <td class="input_label" align="right" style="width: 27%">
                            &nbsp;<%=this.AdminLang["Enabled"] %>
                        </td>
                        <td class="input_textbox" width="60%" align="left">
                            &nbsp;<asp:RadioButton ID="rdEnabled_1" runat="server" GroupName="rdEnabled" Checked="true" />&nbsp;<%=this.AdminLang["Enabled_1"]%>
                            &nbsp;<asp:RadioButton ID="rdEnabled_0" runat="server" GroupName="rdEnabled" />&nbsp;<%=this.AdminLang["Enabled_0"]%>
                        </td>
                    </tr>
                    <tr>
                        <td class="input_label" align="right" style="width: 27%">
                            &nbsp;<%=this.AdminLang["Forward"]%>
                        </td>
                        <td class="input_textbox" width="60%" align="left">
                            &nbsp;<asp:RadioButton ID="rdForward_1" runat="server" GroupName="rdForward" Checked="true" />&nbsp;<%=this.AdminLang["Forward_1"] %>
                            &nbsp;<asp:RadioButton ID="rdForward_0" runat="server" GroupName="rdForward" />&nbsp;<%=this.AdminLang["Forward_0"] %>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" class="input_label" align="right">
                            &nbsp;<span style="color: #ff0000">*</span>&nbsp;<%=this.AdminLang["RequireField"]%>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" style="width: 77px; height: 10px;">
                            &nbsp;
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td height="22" valign="top" colspan="2" align="center">
                <asp:Button ID="btnUpdate" Text="" runat="server" CssClass="btn_submit" OnClick="btnUpdate_Click" />
                <asp:Button ID="btnCencel" Text="Cencel" runat="server" CssClass="btn_submit" OnClick="btnCencel_Click" />
                <div class="back" style="float: right; margin-right: 10px">
                    <a href="<%=Session["Page"]%>">
                        <%=this.AdminLang["Back"] %></a></div>
            </td>
        </tr>
        <tr>
            <td style="height: 19px">
                &nbsp;
            </td>
        </tr>
    </table>
</div>
</form>
